package com.example.logistics_oa.dubbo;

import com.example.comment_oa.dubbo.FuLiZhuBiaoDubbo;
import com.example.comment_oa.pojos.FlApplyzhu;
import com.example.comment_oa.pojos_vo.salaryVo.LingDaoVo;
import com.example.logistics_oa.service.FlApplyzhuService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

@DubboService(version = "1.0.0",protocol = "${dubbo.protocol.id}",
        application = "${dubbo.application.id}",registry = "${dubbo.registry.id}",
        timeout = 3000)
public class FuLiZhuBiaoDubboImpl implements FuLiZhuBiaoDubbo {

    @Resource
    FlApplyzhuService flApplyzhuService;

    @Override
    public int updaZiDuan2(FlApplyzhu flApplyzhu) {
        return flApplyzhuService.updaZiDuan2(flApplyzhu);
    }

    @Override
    public int jujueshenpi(LingDaoVo lingDaoVo) {
        return flApplyzhuService.shenpijujue(lingDaoVo);
    }

    @Override
    public int shenpitongyi(LingDaoVo lingDaoVo) {
        return flApplyzhuService.shenpitongyi(lingDaoVo);
    }

    @Override
    public FlApplyzhu selectZhuBiaoFuLi(String bianhao) {
        return flApplyzhuService.selectZhuAndCong(bianhao);
    }
}
